Skip to content

chore(deps): bump github.com/posthog/posthog-go from 1.12.5 to 1.32.0 - #721

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/posthog/posthog-go-1.32.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/posthog/posthog-go-1.32.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/posthog/posthog-go from 1.12.5 to 1.32.0.

Release notes

Sourced from github.com/posthog/posthog-go's releases.

1.32.0

Unreleased

1.31.0

Unreleased

1.30.0

Unreleased

1.29.0

Unreleased

1.28.1

Unreleased

1.28.0

Unreleased

1.27.1

Unreleased

1.27.0

Unreleased

1.26.0

Unreleased

1.25.3

Unreleased

1.25.2

Unreleased

1.25.1

Unreleased

1.25.0

Unreleased

1.24.4

Unreleased

1.24.3

Unreleased

1.24.2

Unreleased

1.24.1

Unreleased

... (truncated)

Changelog

Sourced from github.com/posthog/posthog-go's changelog.

1.32.0

Minor Changes

  • 4f45cea: posthogmcp adds CaptureMissingCapability, which sends $mcp_missing_capability for an agent's report of a capability the server lacks, with the report as $mcp_intent.

1.31.0

Minor Changes

  • 83bc15e: posthogmcpsdk no longer counts a call naming an unregistered tool, or an input_required round, as a $mcp_tool_call. It sends $mcp_unknown_tool and $mcp_input_required instead (go-sdk v1.8 for rounds). A legacy-revision call whose handler keeps asking for input after go-sdk's one re-entry is a failed $mcp_tool_call with $mcp_error_type input_required.

1.30.0

Minor Changes

  • fbf6733: posthogmcp gains CaptureUnknownTool and CaptureInputRequired to send $mcp_unknown_tool and $mcp_input_required from a manual integration. A call that names an unregistered tool, and an input_required round the client receives, are not tool calls, so they have their own events.
  • cf530d3: posthogmcpsdk anchors conversations like the Python and TypeScript SDKs: tools get an optional conversation_id argument, a call with neither a transport session nor a valid handle gets a new UUIDv7 handle in its result, and an echoed handle sets $mcp_conversation_id and the $session_id derived from it, so a stateless HTTP client's calls share one session. Turn it off with WithConversationID(false).
  • 0f4d122: posthogmcpsdk captures the calling model as $mcp_llm_model, from the client's request _meta or an injected llm_model argument, and the HTTP User-Agent and X-Anthropic-Client headers as $mcp_client_user_agent and $mcp_vendor_client. Turn model capture off with WithCaptureModel(false).
  • fbf6733: posthogmcp.CaptureToolCall follows two rules of the mcp-analytics spec that it skipped. A call with neither a SessionID nor a valid ConversationID now gets a new ses_<UUIDv7> as $session_id, and distinct_id falls back to it instead of "anonymous" (events stay personless without an explicit DistinctID). An Intent of {}, which a client sends for an empty context, is no intent and is omitted.
  • fbf6733: Add Capture.Library and Exception.Library. When set, the value replaces posthog-go as that event's $lib, while $lib_version stays the posthog-go version and every other event keeps posthog-go. posthogmcp uses it, so MCP analytics events now report $lib posthog-go-mcp. Capture v1 mode still reports posthog-go, because the server reads $lib from the per-request PostHog-Sdk-Info header there.

Patch Changes

  • a294b7a: Quote semver values in local-evaluation error messages with Go string quoting, so a value containing a quote cannot break the message.

1.29.0

Minor Changes

  • af8cf35: Add the posthogmcpsdk module: one-line MCP analytics for servers built on the official Go MCP SDK (github.com/modelcontextprotocol/go-sdk). It captures every tools/call as $mcp_tool_call, with intent from an injected context argument, like the Python and TypeScript SDKs.
  • 007ae90: posthogmcp.ToolCall gains ConversationID, LLMModel, LLMModelSource, ClientUserAgent and VendorClient. The new fields match the events posthog-python captures; ConversationID goes beyond its manual capture_tool_call API, which has no such argument. ConversationID is kept only when it is a UUIDv7, lowercased, and it derives $session_id, which takes precedence over SessionID. ClientUserAgent and VendorClient have credentials redacted. The $exception event now carries $exception_level, which custom properties cannot override, and its exception type is always the Go type of Error, while $mcp_error_type is the explicit ErrorType, else that type (such as fs.PathError), else Error. Typed responses with large images keep their text blocks.

... (truncated)

Commits
  • 08549f4 chore: release v1.32.0 [version bump] [skip ci]
  • 4f45cea feat(mcp): add CaptureMissingCapability to posthogmcp (#350)
  • 77e1039 chore: release v1.31.0 [version bump] [skip ci]
  • 83bc15e feat(mcp): send $mcp_unknown_tool and $mcp_input_required from posthogmcpsdk ...
  • 339921f chore: release v1.30.0 [version bump] [skip ci]
  • cf530d3 feat(mcp): anchor conversations in posthogmcpsdk, on by default (#346)
  • 0f4d122 feat(mcp): capture the calling model and client headers in posthogmcpsdk (#344)
  • fbf6733 feat(mcp): send $lib posthog-go-mcp and capture unknown-tool and input-requir...
  • a294b7a fix(flags): quote semver values in local-evaluation errors with %q (#340)
  • 106f90b chore(deps): bump the github-actions group with 3 updates (#342)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by cubic

Bumps github.com/posthog/posthog-go from 1.12.5 to 1.32.0, which adds MCP analytics features and fixes error message quoting in local evaluations.

Written for commit 177e1f7. Summary will update on new commits.

Review in cubic Turn on auto-fix

Bumps [github.com/posthog/posthog-go](https://github.com/posthog/posthog-go) from 1.12.5 to 1.32.0.
- [Release notes](https://github.com/posthog/posthog-go/releases)
- [Changelog](https://github.com/PostHog/posthog-go/blob/main/CHANGELOG.md)
- [Commits](PostHog/posthog-go@v1.12.5...v1.32.0)

---
updated-dependencies:
- dependency-name: github.com/posthog/posthog-go
  dependency-version: 1.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Oct 6, 2026
@dependabot @github

dependabot Bot commented on behalf of github Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #733.

@dependabot dependabot Bot closed this Oct 9, 2026
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/posthog/posthog-go-1.32.0 branch October 9, 2026 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants